query getById($id:${model.idType}!) {
  model:${model.methodName}(id: $id){
    <#list model.fields as field>
    ${field.name},
    </#list>
  }
}